package com.carbonspark.ecoquest.domain.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * (TaskUser)实体类
 *
 * @author makejava
 * @since 2025-03-20 11:01:07
 */
public class TaskUserBO implements Serializable {
    private static final long serialVersionUID = 822094276366080674L;

    private Long id;
/**
     * 外键，指向挑战任务表task
     */
    private Long taskId;
/**
     * 外键，指向用户表auth_user
     */
    private Long userId;
/**
     * 更新人
     */
    private String updateBy;
/**
     * 创建人
     */
    private String createdBy;
/**
     * 创建时间
     */
    private Date createdTime;
/**
     * 更新时间
     */
    private Date updateTime;
/**
     * 是否放弃（默认值为0为未放弃，1为放弃）
     */
    private Integer isAbandoned;
/**
     * 坚持天数
     */
    private Integer days;
/**
     * 是否完成（默认值为0为未完成，1为完成）
     */
    private Integer isCompleted;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getTaskId() {
        return taskId;
    }

    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getIsAbandoned() {
        return isAbandoned;
    }

    public void setIsAbandoned(Integer isAbandoned) {
        this.isAbandoned = isAbandoned;
    }

    public Integer getDays() {
        return days;
    }

    public void setDays(Integer days) {
        this.days = days;
    }

    public Integer getIsCompleted() {
        return isCompleted;
    }

    public void setIsCompleted(Integer isCompleted) {
        this.isCompleted = isCompleted;
    }

}

